﻿using System.Web.Mvc;
using DNT.RavenQA.Web.Infrastructure.Filters;
using DNT.RavenQA.Web.Infrastructure.Logging;
using DNT.RavenQA.Web.Infrastructure.Security;

namespace DNT.RavenQA.Web.App_Start
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorWithElmahAttribute());
            filters.Add(new FirstRunCheckAttribute());
            filters.Add(new UserInjectorGlobalFilter());
        }
    }
}